
class BlindCanTransferPageModel {
  List<BlindCanTransferPageItem>? list;
  int? pageNum;
  int? pageSize;
  int? total;
  int? totalPage;

  BlindCanTransferPageModel({this.list, this.pageNum, this.pageSize, this.total, this.totalPage});

  BlindCanTransferPageModel.fromJson(Map<String, dynamic> json) {
    list = json["list"] == null ? null : (json["list"] as List).map((e) => BlindCanTransferPageItem.fromJson(e)).toList();
    pageNum = json["pageNum"];
    pageSize = json["pageSize"];
    total = json["total"];
    totalPage = json["totalPage"];
  }

  static List<BlindCanTransferPageModel> fromList(List<Map<String, dynamic>> list) {
    return list.map(BlindCanTransferPageModel.fromJson).toList();
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    if(list != null) {
      _data["list"] = list?.map((e) => e.toJson()).toList();
    }
    _data["pageNum"] = pageNum;
    _data["pageSize"] = pageSize;
    _data["total"] = total;
    _data["totalPage"] = totalPage;
    return _data;
  }
}

class BlindCanTransferPageItem {
  int? boxId;
  String? boxImageUrl;
  String? boxName;
  bool? give;
  String? giveStatus;
  int? id;
 bool isSelect  = false;
  BlindCanTransferPageItem({this.boxId, this.boxImageUrl, this.boxName, this.give, this.giveStatus, this.id,this.isSelect=false});

  BlindCanTransferPageItem.fromJson(Map<String, dynamic> json) {
    boxId = json["boxId"];
    boxImageUrl = json["boxImageUrl"];
    boxName = json["boxName"];
    give = json["give"];
    giveStatus = json["giveStatus"];
    id = json["id"];
     isSelect = json["isSelect"] ??false;
  }

  static List<BlindCanTransferPageItem> fromList(List<Map<String, dynamic>> list) {
    return list.map(BlindCanTransferPageItem.fromJson).toList();
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> _data = <String, dynamic>{};
    _data["boxId"] = boxId;
    _data["boxImageUrl"] = boxImageUrl;
    _data["boxName"] = boxName;
    _data["give"] = give;
    _data["giveStatus"] = giveStatus;
    _data["id"] = id;
     _data["isSelect"] = isSelect;
    return _data;
  }
}